package vip.zslaa.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

/**
 * @author ：zslaa
 * @date ：Created in 9/8/2019 7:05 PM
 * @description：
 * @version: $
 */
@Data
@Document(collection = "blog")
public class Blog {
    @Id
    private String id;
    @Field("TextContent")
    private String TextContent;
    @Field("HtmlContent")
    private String HtmlContent;
    @Field("CreateTime")
    private Date CreateTime;
}
